package com.yi.wood.web.ctrl.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author MoYi
 * create date 2019/4/6 15:17
 */
@ToString
@Data
public class RoleParam implements Serializable {

    private Long id;

    @NotBlank
    @Size(max = 20)
    private String name;

    @Size(max = 20)
    private String remarks;

    private Integer status;

    private Integer type;
}
